package com.qfedu.service.impl;

import com.qfedu.dao.TypeDao;
import com.qfedu.dao.impl.TypeDaoImpl;
import com.qfedu.entity.Type;
import com.qfedu.service.TypeService;

import java.sql.SQLException;
import java.util.List;

public class TypeServiceImpl implements TypeService {
    private TypeDao typeDao = new TypeDaoImpl();
    @Override
    public List<Type> getAllType() throws SQLException {
        return typeDao.getAllType();
    }
}
